<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	String username = (String)request.getAttribute("username");
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>登录</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">

<script type="text/javascript"
	src="${pageContext.request.contextPath}/js/jquery-1.8.3.min.js"></script>

</head>
<body>
<h1>贾维斯</h1>
  <div >
   <h2>登 录</h2>
   <form action="${pageContext.request.contextPath}/user/login.html" method="post">
     <input type="text" id="name" Name="username" placeholder="请输入用户名"><br><br>
     <input type="password" id="pwd" Name="password" placeholder="请输入密码"><br><br>
       <input type="submit" value="登 录">
   </form>   
  </div>

</body>

</html>